import Vue from 'vue'
import Vuex from 'vuex'
import cart from './modules/cart.js'
import user from './modules/user.js'
import goods from './modules/goods.js'
import order from './modules/order.js'
Vue.use(Vuex)

const store = new Vuex.Store({
	modules: {
		cart,
		user,
		goods,
		order,
	},
})
export default store
